/*
 * Copyright (c) 2013-2015 Charkey. All rights reserved.
 *
 * This software is the confidential and proprietary information of Charkey.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the agreements you entered into with Charkey.
 *
 * Charkey MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
 *
 * Charkey SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
 * MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 */

package cn.simastudio.talos.inter.model.inst;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Usage: DemoProfile
 *
 * @author Charkey
 * @date 2015/4/28 14:51
 */
public class DemoProfile implements Serializable {

    private static final long serialVersionUID = 4618658004769321571L;

    /**
     * ID
     */
    private Integer id;

    /**
     * profile_name
     */
    @JSONField(name = "profile_name")
    private String profileName;

    /**
     * 所属用户
     */
    @JSONField(name = "profile_for_user")
    private Integer profileForUser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProfileName() {
        return profileName;
    }

    public void setProfileName(String profileName) {
        this.profileName = profileName == null ? null : profileName.trim();
    }

    public Integer getProfileForUser() {
        return profileForUser;
    }

    public void setProfileForUser(Integer profileForUser) {
        this.profileForUser = profileForUser;
    }

    @Override
    public String toString() {
        return "DemoProfile{" +
                "id=" + id +
                ", profileName='" + profileName + '\'' +
                ", profileForUser=" + profileForUser +
                '}';
    }
}